package com.ruoyi.projects.service;

import java.util.List;

import com.ruoyi.projects.Vos.TimeArr;
import com.ruoyi.projects.Vos.slApointVo;
import com.ruoyi.projects.domain.SlApointForm;

/**
 * 预约排期Service接口
 * 
 * @author yangz
 * @date 2024-10-27
 */
public interface ISlApointFormService 
{
    /**
     * 查询预约排期
     * 
     * @param apointId 预约排期主键
     * @return 预约排期
     */
    public SlApointForm selectSlApointFormByApointId(Long apointId);

    /**
     * 查询预约排期列表
     * 
     * @param slApointForm 预约排期
     * @return 预约排期集合
     */
    public List<SlApointForm> selectSlApointFormList(SlApointForm slApointForm);

    /**
     * 新增预约排期
     * 
     * @param slApointForm 预约排期
     * @return 结果
     */
    public int insertSlApointForm(SlApointForm slApointForm);

    /**
     * 修改预约排期
     * 
     * @param slApointForm 预约排期
     * @return 结果
     */
    public int updateSlApointForm(SlApointForm slApointForm);

    /**
     * 批量删除预约排期
     * 
     * @param apointIds 需要删除的预约排期主键集合
     * @return 结果
     */
    public int deleteSlApointFormByApointIds(Long[] apointIds);

    /**
     * 删除预约排期信息
     * 
     * @param apointId 预约排期主键
     * @return 结果
     */
    public int deleteSlApointFormByApointId(Long apointId);

    List<TimeArr> getApointFormInfo( List<slApointVo> slApointVos);

    /**
     * 小程序查看某个产品某个会员的预约时间段
     * @param vo
     * @return
     */
    List<String> queryAppointMents(SlApointForm vo);


    List<slApointVo> queryCalendarApoints(SlApointForm slApointForm);

    /**
     * 查询预约记录
     * @param slApointForm
     * @return
     */
    List<slApointVo> querySlApointVo(SlApointForm slApointForm);
}
